
<#--包名-->
package ${mapperBean.servicePackagePath};

<#--bean的包中径-->
import ${mapperBean.beanPackagePath}.${mapperBean.beanName?cap_first};
import net.sf.json.JSONObject;

public interface ${mapperBean.serviceClassName?cap_first}{

	/**
	 * 分页查询
	 */
	JSONObject search4PageList(${mapperBean.beanName} ${mapperBean.beanName?uncap_first},Integer start, Integer length);
	/**
	 * 查询单条数据
	 */
	${mapperBean.beanName} selectByPrimaryKey(${mapperBean.beanName} ${mapperBean.beanName?uncap_first});
	/**
	 * 删除单条数据
	 */
	int deleteByPrimaryKey(${mapperBean.beanName} ${mapperBean.beanName?uncap_first});
	/**
	 * 保存数据
	 */
	int addObject(${mapperBean.beanName} ${mapperBean.beanName?uncap_first});
	/**
	 * 修改单条数据
	 */
	int updateByPrimaryKey(${mapperBean.beanName} ${mapperBean.beanName?uncap_first});


}